<template>
  <div class="small">
    <van-sticky>
      <div class="top">
        <div class="iconfont icon-sousuo"></div>
        <div class="shopp">商城</div>
        <div class="iconfont icon-gouwuche"></div>
      </div>
    </van-sticky>

    <div class="items">
      <div class="item">
        <div class="iconfont icon-pingguo5"></div>
        <div class="text">果蔬</div>
      </div>
      <div class="item">
        <div class="iconfont icon-yu"></div>
        <div class="text">海鲜</div>
      </div>
      <div class="item">
        <div class="iconfont icon-rou"></div>
        <div class="text">肉类</div>
      </div>
      <div class="item">
        <div class="iconfont icon-liangyou"></div>
        <div class="text">粮油</div>
      </div>
      <div class="item">
        <div class="iconfont icon-mianbao1"></div>
        <div class="text">烘焙</div>
      </div>
    </div>
    <div class="items">
      <div class="item">
        <div class="iconfont icon-shutiao"></div>
        <div class="text">零食</div>
      </div>
      <div class="item">
        <div class="iconfont icon-beizi_fill"></div>
        <div class="text">冲调饮品</div>
      </div>
      <div class="item">
        <div class="iconfont icon-hufu"></div>
        <div class="text">个护</div>
      </div>
      <div class="item">
        <div class="iconfont icon-chushimao"></div>
        <div class="text">餐厨</div>
      </div>
      <div class="item">
        <div class="iconfont icon-shafa"></div>
        <div class="text">家居</div>
      </div>
    </div>
    <div class="items">
      <div class="item">
        <div class="iconfont icon-rujiaozhentou"></div>
        <div class="text">服装家纺</div>
      </div>
      <div class="item">
        <div class="iconfont icon-kouhong"></div>
        <div class="text">美妆</div>
      </div>
      <div class="item">
        <div class="iconfont icon-naiping3"></div>
        <div class="text">母婴</div>
      </div>
      <div class="item">
        <div class="iconfont icon-dengpao"></div>
        <div class="text">创新智能</div>
      </div>
      <div class="item">
        <div class="iconfont icon-bg-calendar"></div>
        <div class="text">时令节日</div>
      </div>
    </div>

    <div class="all">全部商品</div>
    <div class="content">
      <div class="contain">
        <div class="img">
          <img src="../assets/3.png" alt="" />
        </div>
        <div class="text">【限时9.9元秒杀】 家宴必备！一品卤牛肉酥...</div>
        <div class="infoo">￥59.90</div>
      </div>
      <div class="contain">
        <div class="img">
          <img src="../assets/3.png" alt="" />
        </div>
        <div class="text">【限时9.9元秒杀】 家宴必备！一品卤牛肉酥...</div>
        <div class="infoo">￥59.90</div>
      </div>
      <div class="contain">
        <div class="img">
          <img src="../assets/3.png" alt="" />
        </div>
        <div class="text">【限时9.9元秒杀】 家宴必备！一品卤牛肉酥...</div>
        <div class="infoo">￥59.90</div>
      </div>
      <div class="contain">
        <div class="img">
          <img src="../assets/3.png" alt="" />
        </div>
        <div class="text">【限时9.9元秒杀】 家宴必备！一品卤牛肉酥...</div>
        <div class="infoo">￥59.90</div>
      </div>

    </div>

    <footNav> </footNav>
  </div>
</template>

<script>
import footNav from "../components/base/footNav.vue";
export default {
  components: {
    footNav,
  },
};
</script>

<style lang='less'>
.small {
  .top {
    background: #fff;
    padding-bottom: 5px;
    margin: 0 20px;
    padding-top: 30px;
    margin-bottom: 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .items {
    margin-left: 11px;
    margin-right: 6px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    .item {
      text-align: center;
      width: 100%;
      .iconfont {
        font-size: 25px;
        margin-bottom: 10px;
        font-weight: bold;
      }
      .icon-Group,
      .icon-yuebing {
        font-weight: inherit;
      }
      .text {
        color: #2c2c2c;
        font-size: 13px;
      }
      .icon-pingguo5,
      .icon-rou,
      .icon-shutiao,
      .icon-bg-calendar,
      .icon-kouhong {
        color: #fb3850;
      }
      .icon-yu,
      .icon-chushimao {
        color: #659af7;
      }
      .icon-hufu,
      .icon-rujiaozhentou,
      .icon-dengpao {
        color: #59b375;
      }
      .icon-liangyou,
      .icon-mianbao1,
      .icon-beizi_fill,
      .icon-naiping3,
      .icon-shafa {
        color: #efa537;
      }
    }
  }
  .all {
    font-size: 15px;
    font-weight: bold;
    margin-left: 20px;
    margin-bottom: 15px;
  }
  .content {
    margin: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    .swiper-container {
      display: flex;
      .swiper-wrapper {
        margin-right: 10px;
      }
    }
    .contain {
     
      .img {
        img {
          width: 160px;
          height: 190px;
          border-radius: 8px;
        }
      }
      .text {
        font-size: 14px;
        width: 153px;
        font-weight: bold;
        margin-top: 10px;
      }
      .infoo {
        font-size: 16px;
        margin-top: 10px;
        color: #c23548;
        margin-bottom: 40px;
      }
    }
  }
}
</style>